<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://displaytag.sf.net" prefix="display" %>
<%@page isELIgnored="false"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript" src="javascript/funcoes.js"></script>
    <script type="text/javascript" src="javascript/calendar.js"></script>
    <script type="text/javascript" src="javascript/calendar-setup.js"></script>
    <script type="text/javascript" src="javascript/calendar-pt.js"></script>
    <link rel="stylesheet" type="text/css" href="estilos/skins/aqua/theme.css" />
    <link href="estilos/css.css" rel="stylesheet" type="text/css" />
<title>Insert title here</title>
</head>
<body>

<c:if test="${sessionScope.Cliente == null}">
	<c:set var="mensagem" value="Por favor escolher um cliente!" scope="request"/>
	<jsp:forward page="mensagens.jsp"/>
</c:if>

<c:set var="cliente" value="${sessionScope.Cliente}"/>

<h2>Despesas Apropriadas - ${cliente.nome}</h2>
	
	<div id="divResultados" class="saldo">

	<display:table name="${requestScope.Valores_Quitados}" pagesize="12" requestURI="controleDespAnt?opcao=LANCAR_PAGAMENTO" id="tabelaResultados">
		<display:column property="nome_despesa" sortable="true" title="Nome da despesa"/>
		<display:column property="total_despesa" sortable="true" title="Total da Despesa" href="controleDespAnt?opcao=DETALHE_DIVIDA_QUITADA" paramId="divida" paramProperty="id"/>
		<display:column property="data_string" sortable="true" title="Data"/>
	</display:table>
	
</div>

</body>
</html>
